<template>
<div class="pad20">
    <div class=" clearfix">
        <span>
            <span>评级日期</span>
            <el-date-picker class="left10" v-model="value" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
            </el-date-picker>
        </span>
        <span class="left20">
            <span>信用等级</span>
            <el-select class="left10" v-model="value" placeholder="请选择">
                <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
        </span>
        <span class="left20">
            <span>其他</span>
            <el-input style="width: 220px" class="left10" v-model="input" placeholder="姓名/身份证/所在组织"></el-input>
        </span>
        <el-button type="primary">搜索</el-button>
        <el-button type="primary" class="right">新增</el-button>
    </div>
    <el-table ref="multipleTable" class="top20" :data="list" fit highlight-current-row style="width: 100%;" header-row-class-name="tableHeader">
        <el-table-column label="姓名" prop="a" align='center'></el-table-column>
        <el-table-column label="身份证号" prop="b" align='center'></el-table-column>
        <el-table-column label="所在组织" prop="c" align='center'></el-table-column>
        <el-table-column label="信用评分" prop="d" align='center'></el-table-column>
        <el-table-column label="信用等级" prop="e" align='center'></el-table-column>
        <el-table-column label="评估日期" prop="f" align='center'></el-table-column>
        <el-table-column label="操作" prop="isEnable" align='center' width='200'>
            <template slot-scope="{row,$index}">
                <el-button type="primary">查看</el-button>
            </template>
        </el-table-column>
    </el-table>
    <div class="align-right top20">
        <el-pagination v-show="total>0" :total="total" :current-page.sync="originalQuery.pageNumber" :page-size="originalQuery.pageSize" background layout="prev, pager, next" @current-change="getList" @size-change="sizeChange" />
    </div>
</div>
</template>

<script>
export default {
    components: {},
    data() {
        return {
            list:[
                {a: '张洋', b: '342625199902020010', c: '单洞社区颐伦老年人服务中心', d: '100', e: 'A', f: '2020-07-20'},
                {a: '张翔', b: '320682199809128776', c: '单洞社区颐伦老年人服务中心', d: '99', e: 'A', f: '2020-07-20'},
                {a: '陈琼', b: '421083199010150425', c: '单洞社区颐伦老年人服务中心', d: '89', e: 'B', f: '2020-07-12'},
                {a: '李立', b: '420103198107253224', c: '万松街居家养老服务中心', d: '98', e: 'A', f: '2020-07-12'},
                {a: '刘青梅', b: '420103198708155216', c: '万松街居家养老服务中心', d: '97', e: 'A', f: '2020-06-28'},
                {a: '徐秀', b: '420103198905258279', c: '富豪社区舒美养老院', d: '99', e: 'A', f: '2020-06-15'},
                {a: '赵超', b: '420103199103251320', c: '富豪社区舒美养老院', d: '94', e: 'A', f: '2020-06-15'},
            ],
            total: 4000,
            originalQuery: {
                pageNumber: 1,
                pageSize: 20,
            },
            input: '',
            value: '',
            options: [{
                    label: '一级',
                    value: '1'
                },
                {
                    label: '二级',
                    value: '2'
                },
                {
                    label: '三级',
                    value: '3'
                },
            ]
        };
    },
    computed: {},
    watch: {},
    created() {},
    mounted() {},
    methods: {
        sizeChange(){

        },
        getList(){
            
        }
    }
};
</script>

<style scoped>

</style>
